package com.CGFrame.struts.action.project;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class NewProjectAction extends Action {

	@Override
	public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse arg3) throws Exception {
		String name=request.getParameter("projectName");
		String shortName=request.getParameter("projectShortName");
		String createDate=request.getParameter("createDate");
		String finishDate=request.getParameter("finishDate");
		String projectId="";//新建项目的Id
		request.setAttribute("ProjectId", projectId);
		return mapping.findForward("sucess");
	}
	
}
